package cz.najman.emdroid.mappings;

import android.net.Uri;
import android.provider.BaseColumns;
import cz.najman.emdroid.provider.EMDroidDataProvider;
import cz.najman.emdroid.provider.Flags;

public class Country implements BaseColumns, Flags {

	public static final String URI_STRING = "content://"
			+ EMDroidDataProvider.AUTHORITY + "/countries";

	public static final Uri CONTENT_URI = Uri
			.parse(URI_STRING);

	public static final int OBJECT_ID = 7;
	
	/* DATABASE COLUMNS NAMES */
	
	public static final String TABLE_NAME = "countries";
	
	//public static final String _ID = "country_id";
	
	public static final String FULL_NAME = "full_name";
	
	public static final String COUNTRY_CODE = "country_code";
	
	public static final String ISO_2 = "iso_2";
	
	public static final String ISO_3 = "iso_3";
	
	/* DATABASE COLUMS INDEXES */
	
	public static final int INDEX_ID = 0;
	
	public static final int INDEX_FULL_NAME = 1;
	
	public static final int INDEX_COUNTRY_CODE = 2;
	
	public static final int INDEX_ISO_2 = 3;
	
	public static final int INDEX_ISO_3 = 4;
		
}
